import pygame
from hexconfig import *
stateString = "-------1-00--01--1-0A-B--011-0-----001-1---"
print stateString
edges = getAllMovesFromState(stateString)

for e in edges:
    nextState = stateStringFromActionList(stateString,e)
    if nextState.find("B") == -1:
        print e, nextState

print "Done"